package com.yidu.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.dao.SnMaPurDetailMapper;
import com.yidu.model.SnProDetail;
import com.yidu.service.SnMaPurDetailService;
/**
 * 材料采购详情实现类
 * @author chensituo
 * @date 2018年12月6日 下午10:36:34
 */
@Service
public class SnMaPurDetailServiceImpl implements SnMaPurDetailService{
	/**
	 * 注入材料采购详情mapper
	 */
	@Resource
	SnMaPurDetailMapper maPurDetailMapper;

	@Override
	public List<SnProDetail> findAll(Map<String, Object> maps) {
		//查询所有
		return maPurDetailMapper.findAll(maps);
	}

	@Override
	public int findCount(Map<String, Object> maps) {
		//查询行数
		return maPurDetailMapper.findCount(maps);
	}
}
